﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class Common
    {
        public Common()
        {

        }

        public const string environment = "environment";

        public static string Environment
        {
            get
            {
                return Convert.ToString(System.Configuration.ConfigurationManager.AppSettings[environment]);
            }
        }

        public static string ConnectionString
        {
            get
            {
                return Convert.ToString(System.Configuration.ConfigurationManager.ConnectionStrings[Environment]);
            }
        }
    }
}
